from typing import Optional

from pydantic import BaseModel


class IdeRegistryUpdateRequest(BaseModel):
    name: str
    registry: str
    enable: Optional[int] = 1
    id: str
